Optimal. Leaf size=228 \[ -\frac{d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right ) (5 A b e-4 A c d+2 b B d)}{b^3}+\frac{e \sqrt{d+e x} \left (-b c (A e+B d)+2 A c^2 d+3 b^2 B e\right )}{b^2 c^2}+\frac{(d+e x)^{3/2} (b B-2 A c) (c d-b e)}{b^2 c (b+c x)}-\frac{(c d-b e)^{3/2} \left (-b c (2 B d-A e)+4 A c^2 d-3 b^2 B e\right ) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{d+e x}}{\sqrt{c d-b e}}\right )}{b^3 c^{5/2}}-\frac{A (d+e x)^{5/2}}{b x (b+c x)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.1487, antiderivative size = 228, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 7, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.269 \[ -\frac{d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right ) (5 A b e-4 A c d+2 b B d)}{b^3}+\frac{e \sqrt{d+e x} \left (-b c (A e+B d)+2 A c^2 d+3 b^2 B e\right )}{b^2 c^2}+\frac{(d+e x)^{3/2} (b B-2 A c) (c d-b e)}{b^2 c (b+c x)}+\frac{(c d-b e)^{3/2} \left (-A b c e-4 A c^2 d+3 b^2 B e+2 b B c d\right ) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{d+e x}}{\sqrt{c d-b e}}\right )}{b^3 c^{5/2}}-\frac{A (d+e x)^{5/2}}{b x (b+c x)} \]
Antiderivative was successfully verified.
[In] Int[((A + B*x)*(d + e*x)^(5/2))/(b*x + c*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 125.957, size = 211, normalized size = 0.93 \[ \frac{\left (d + e x\right )^{\frac{5}{2}} \left (A c - B b\right )}{b c x \left (b + c x\right )} - \frac{d \left (d + e x\right )^{\frac{3}{2}} \left (2 A c - B b\right )}{b^{2} c x} - \frac{e \sqrt{d + e x} \left (b e \left (A c - 3 B b\right ) - c d \left (2 A c - B b\right )\right )}{b^{2} c^{2}} - \frac{d^{\frac{3}{2}} \left (5 A b e - 4 A c d + 2 B b d\right ) \operatorname{atanh}{\left (\frac{\sqrt{d + e x}}{\sqrt{d}} \right )}}{b^{3}} + \frac{\left (b e - c d\right )^{\frac{3}{2}} \left (A b c e + 4 A c^{2} d - 3 B b^{2} e - 2 B b c d\right ) \operatorname{atan}{\left (\frac{\sqrt{c} \sqrt{d + e x}}{\sqrt{b e - c d}} \right )}}{b^{3} c^{\frac{5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(e*x+d)**(5/2)/(c*x**2+b*x)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.518133, size = 183, normalized size = 0.8 \[ -\frac{d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right ) (5 A b e-4 A c d+2 b B d)}{b^3}+\sqrt{d+e x} \left (\frac{(b B-A c) (c d-b e)^2}{b^2 c^2 (b+c x)}-\frac{A d^2}{b^2 x}+\frac{2 B e^2}{c^2}\right )+\frac{(c d-b e)^{3/2} \left (b c (2 B d-A e)-4 A c^2 d+3 b^2 B e\right ) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{d+e x}}{\sqrt{c d-b e}}\right )}{b^3 c^{5/2}} \]
Antiderivative was successfully verified.
[In] Integrate[((A + B*x)*(d + e*x)^(5/2))/(b*x + c*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.034, size = 614, normalized size = 2.7 \[ 2\,{\frac{{e}^{2}B\sqrt{ex+d}}{{c}^{2}}}-{\frac{{e}^{3}A}{c \left ( cex+be \right ) }\sqrt{ex+d}}+2\,{\frac{{e}^{2}\sqrt{ex+d}Ad}{b \left ( cex+be \right ) }}-{\frac{Ac{d}^{2}e}{{b}^{2} \left ( cex+be \right ) }\sqrt{ex+d}}+{\frac{B{e}^{3}b}{{c}^{2} \left ( cex+be \right ) }\sqrt{ex+d}}-2\,{\frac{{e}^{2}B\sqrt{ex+d}d}{c \left ( cex+be \right ) }}+{\frac{Be{d}^{2}}{b \left ( cex+be \right ) }\sqrt{ex+d}}+{\frac{{e}^{3}A}{c}\arctan \left ({c\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}}+2\,{\frac{{e}^{2}Ad}{b\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }-7\,{\frac{Ac{d}^{2}e}{{b}^{2}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }+4\,{\frac{A{c}^{2}{d}^{3}}{{b}^{3}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }-3\,{\frac{B{e}^{3}b}{{c}^{2}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }+4\,{\frac{{e}^{2}Bd}{c\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }+{\frac{Be{d}^{2}}{b}\arctan \left ({c\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( be-cd \right ) c}}}}-2\,{\frac{Bc{d}^{3}}{{b}^{2}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }-{\frac{{d}^{2}A}{{b}^{2}x}\sqrt{ex+d}}-5\,{\frac{e{d}^{3/2}A}{{b}^{2}}{\it Artanh} \left ({\frac{\sqrt{ex+d}}{\sqrt{d}}} \right ) }+4\,{\frac{{d}^{5/2}Ac}{{b}^{3}}{\it Artanh} \left ({\frac{\sqrt{ex+d}}{\sqrt{d}}} \right ) }-2\,{\frac{{d}^{5/2}B}{{b}^{2}}{\it Artanh} \left ({\frac{\sqrt{ex+d}}{\sqrt{d}}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(e*x+d)^(5/2)/(c*x^2+b*x)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x + d)^(5/2)/(c*x^2 + b*x)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 10.8542, size = 1, normalized size = 0. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x + d)^(5/2)/(c*x^2 + b*x)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(e*x+d)**(5/2)/(c*x**2+b*x)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.302787, size = 632, normalized size = 2.77 \[ \frac{2 \, \sqrt{x e + d} B e^{2}}{c^{2}} + \frac{{\left (2 \, B b d^{3} - 4 \, A c d^{3} + 5 \, A b d^{2} e\right )} \arctan \left (\frac{\sqrt{x e + d}}{\sqrt{-d}}\right )}{b^{3} \sqrt{-d}} - \frac{{\left (2 \, B b c^{3} d^{3} - 4 \, A c^{4} d^{3} - B b^{2} c^{2} d^{2} e + 7 \, A b c^{3} d^{2} e - 4 \, B b^{3} c d e^{2} - 2 \, A b^{2} c^{2} d e^{2} + 3 \, B b^{4} e^{3} - A b^{3} c e^{3}\right )} \arctan \left (\frac{\sqrt{x e + d} c}{\sqrt{-c^{2} d + b c e}}\right )}{\sqrt{-c^{2} d + b c e} b^{3} c^{2}} + \frac{{\left (x e + d\right )}^{\frac{3}{2}} B b c^{2} d^{2} e - 2 \,{\left (x e + d\right )}^{\frac{3}{2}} A c^{3} d^{2} e - \sqrt{x e + d} B b c^{2} d^{3} e + 2 \, \sqrt{x e + d} A c^{3} d^{3} e - 2 \,{\left (x e + d\right )}^{\frac{3}{2}} B b^{2} c d e^{2} + 2 \,{\left (x e + d\right )}^{\frac{3}{2}} A b c^{2} d e^{2} + 2 \, \sqrt{x e + d} B b^{2} c d^{2} e^{2} - 3 \, \sqrt{x e + d} A b c^{2} d^{2} e^{2} +{\left (x e + d\right )}^{\frac{3}{2}} B b^{3} e^{3} -{\left (x e + d\right )}^{\frac{3}{2}} A b^{2} c e^{3} - \sqrt{x e + d} B b^{3} d e^{3} + \sqrt{x e + d} A b^{2} c d e^{3}}{{\left ({\left (x e + d\right )}^{2} c - 2 \,{\left (x e + d\right )} c d + c d^{2} +{\left (x e + d\right )} b e - b d e\right )} b^{2} c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x + d)^(5/2)/(c*x^2 + b*x)^2,x, algorithm="giac")
[Out]